/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 123
 * Date: 2023-04-19
 * Time: 21:03
 */
public class j2023_4_19 {

    public static void main(String[] args) {
        int[] arr = {2,3,4};
        int[] arr3 = {4,5,7};
        arr3 = arr;

    }
    public static void main2(String[] args) {

        int[] arr = {1,2,3,4,5};
        int[] arr2 = arr;
        arr[0] = 6;
        arr[1] = 4;
        for (int x:arr2) {
            System.out.println(x);
        }


    }
    public static void main1(String[] args) {
        int[] arr = new int[]{1,2,3,4,5};
        for (int x:arr) {
            System.out.println(x);
        }


    }


}

